package com.artpri.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;


/**
 * RecommendWork entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name="recommend_work"
    ,catalog="jpw"
)

public class RecommendWork  implements java.io.Serializable {


    // Fields    

     private Integer rwId;
     private Integer goodsNum;
     private String pageNum;
     private String plateNum;
     private String rwRemark;
     private Timestamp createTime;


    // Constructors

    /** default constructor */
    public RecommendWork() {
    }

	/** minimal constructor */
    public RecommendWork(Integer goodsNum, String pageNum, String plateNum, Timestamp createTime) {
        this.goodsNum = goodsNum;
        this.pageNum = pageNum;
        this.plateNum = plateNum;
        this.createTime = createTime;
    }
    
    /** full constructor */
    public RecommendWork(Integer goodsNum, String pageNum, String plateNum, String rwRemark, Timestamp createTime) {
        this.goodsNum = goodsNum;
        this.pageNum = pageNum;
        this.plateNum = plateNum;
        this.rwRemark = rwRemark;
        this.createTime = createTime;
    }

   
    // Property accessors
    @Id @GeneratedValue(strategy=IDENTITY)
    
    @Column(name="rw_id", unique=true, nullable=false)

    public Integer getRwId() {
        return this.rwId;
    }
    
    public void setRwId(Integer rwId) {
        this.rwId = rwId;
    }
    
    @Column(name="goods_num", nullable=false)

    public Integer getGoodsNum() {
        return this.goodsNum;
    }
    
    public void setGoodsNum(Integer goodsNum) {
        this.goodsNum = goodsNum;
    }
    
    @Column(name="page_num", nullable=false, length=16)

    public String getPageNum() {
        return this.pageNum;
    }
    
    public void setPageNum(String pageNum) {
        this.pageNum = pageNum;
    }
    
    @Column(name="plate_num", nullable=false, length=16)

    public String getPlateNum() {
        return this.plateNum;
    }
    
    public void setPlateNum(String plateNum) {
        this.plateNum = plateNum;
    }
    
    @Column(name="rw_remark")

    public String getRwRemark() {
        return this.rwRemark;
    }
    
    public void setRwRemark(String rwRemark) {
        this.rwRemark = rwRemark;
    }
    
    @Column(name="create_time", nullable=false, length=19)

    public Timestamp getCreateTime() {
        return this.createTime;
    }
    
    public void setCreateTime(Timestamp createTime) {
        this.createTime = createTime;
    }
   








}